package com.ubs.training.server.dao;

import com.ubs.training.server.dao.model.Client;
import com.ubs.training.server.dao.model.Rating;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: xubuntu
 * Date: 8/20/12
 * Time: 8:39 AM
 * To change this template use File | Settings | File Templates.
 */
public interface RatingDao {

    List<Rating> getAll();

    List<Rating> getByClientID(int clientID);


    Rating getById(int id);

    void add(Rating rating);

    void update(Rating rating);
    boolean delete(Rating rating);

}
